#define _CRT_SECURE_NO_WARNINGS 1
#include "AVL.h"

int main()
{
	AVL<int, int> t1;
	int arr[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };

	for (auto& e : arr)
	{
		t1.Insert(make_pair(e, e));
	}
	t1.PreOrder();
	cout << endl;
	t1.InOrder();
	cout << endl;
	cout << t1.IsAVLTree();
	return 0;
}
